<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../plugins/layui/css/layui.css"/>
		<script src="../plugins/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		
		<div style="width: 400px ;margin: 0px auto; height: auto; padding: 15px;">
			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
			     <legend>编辑管理员</legend>
			</fieldset>
			<form class="layui-form" action="#" method="post">
				<div class="layui-form-item">
				   <label class="layui-form-label">管理员姓名</label>
				   <div class="layui-input-block" style="width: 200px;">
				   	 <input class="layui-input" type="text"  placeholder="请输入管理员姓名" lay-verify="required" >
				   </div>
			    </div>
			    <div class="layui-form-item">
			    	<label class="layui-form-label">管理员密码</label>
			    	<div class="layui-input-block" style="width: 200px;">
			    		<input class="layui-input" type="password" placeholder="请输入密码"  lay-verify="required"/>
			    	</div>
			    </div>
			    <div class="layui-form-item">
			    	<label class="layui-form-label">管理员邮箱</label>
			    	<div class="layui-input-block" style="width: 200px;">
			    		<input   lay-verify="email"   class="layui-input" type="text"  placeholder="请输入管理员邮箱"/>
			    	</div>
			    </div>
			    <div class="layui-form-item">
			    	<label class="layui-form-label">注册时间</label>
			    	<div class="layui-input-block" style="width: 200px;">
			    		<input class="layui-input" type="text" placeholder="yyyy-MM-dd" id="test1" />
			    	</div>
			    	
			    </div>
			    
			    
			    
			     <div class="layui-form-item">
				    <div class="layui-input-block" >
				      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
				      <button type="reset" class="layui-btn layui-btn-primary" >重置</button>
				    </div>
				 </div>       

			</form>
	
		</div>
		
		<script type="text/javascript">
			layui.use("laydate",function(){
				
				var laydate = layui.laydate;
  
					  //常规用法
					  laydate.render({
					    elem: '#test1'
					  });
				
				
				
			})
		</script>
		<script>
		layui.use('form', function(){
		  var form = layui.form;
		  
		  //各种基于事件的操作，下面会有进一步介绍
		});
		</script>


		
		
		
		
	</body>
	 
</html>
